package com.hqyj.ssm.mapper;

import com.hqyj.ssm.pojo.User;

import java.util.List;

public interface UserMapper {
    User selectUserByUsername(String username);

    List<User> selectAll(String username);

    int insertUser(User user);

    int deleteUserByUsername(String username);

    int updateUserByUsername(User user);


    User checkUsername(String username);
}
